projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
410d9b6
)
cmd: fdt: Fix fdt address information after the movement
author
Hiroyuki Yokoyama
<
[email protected]
>
Thu, 18 Oct 2018 18:43:54 +0000
(20:43 +0200)
committer
Simon Glass
<
[email protected]
>
Wed, 21 Nov 2018 02:14:22 +0000
(19:14 -0700)
This patch fixes the address information of fdt.
wrong case:
=> fdt addr 0x48000000
=> fdt move 0x48000000 0x41000000 0xa000
=> fdt addr
The address of the fdt is
48000000
Active address in this case is 0x41000000.
Signed-off-by: Hiroyuki Yokoyama <
[email protected]
>
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Hiroyuki Yokoyama <
[email protected]
>
Cc: Nobuhiro Iwamatsu <
[email protected]
>
Cc: Pantelis Antoniou <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
cmd/fdt.c
patch
|
blob
|
history
diff --git
a/cmd/fdt.c
b/cmd/fdt.c
index 8a19a3fdbf2ef15171a58d6b5ca1faaa01691990..84be26f4f1926f20df01a9d0bc490c74edac8732 100644
(file)
--- a/
cmd/fdt.c
+++ b/
cmd/fdt.c
@@
-202,7
+202,7
@@
static int do_fdt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
fdt_strerror(err));
return 1;
}
-
working_fdt = newaddr
;
+
set_working_fdt_addr((ulong)newaddr)
;
#ifdef CONFIG_OF_SYSTEM_SETUP
/* Call the board-specific fixup routine */
} else if (strncmp(argv[1], "sys", 3) == 0) {